﻿#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

#include "claim.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    QStringList getDefinedSensitiveWords();

private:
    Ui::MainWindow *ui;
    QString claimsText;
    QString descriptionText;
    QString figuresText;
    QList<Claim> claimList;
    QStringList definedSensitiveWords;
    QStringList descriptionParas;
    QStringList figuresList;

    void displayClaim();
    void displayDescription();

private slots:
    void initText();
    void parseText();
    void addSensitiveWordDefined();
    void focusSettingsWidget();
};

#endif // MAINWINDOW_H
